
package net.swa.dewei.service;

import java.util.Map;

import net.swa.dewei.beans.entity.DingDanCard;
import net.swa.dewei.beans.vo.VoListPage;
import net.swa.util.JsonResult;

public interface DingDanCardService
{

    Map<String, Object> addDingdan(DingDanCard m);

    void delete(Long[] ids);

    void batchUpdateState(Long[] ids , String state);

    Map<String, Object> updateProcess(Long id , String state , Long mendianId);

    DingDanCard queryById(Long id);

    DingDanCard queryDetailById(Long id);

    JsonResult<DingDanCard> queryDingdansPage(String customerName , String customerTel , String mendianName , String dingDanUid , String state , String payType , Long fuwuZhanId , String fuwuzhanName , int currentPage , int pageSize , String orderBy , String orderType);

    void update(DingDanCard model);

    VoListPage<DingDanCard> queryMendDingdans(Long id , Long id2 , int num);

    VoListPage<DingDanCard> queryMyDingdans(String wxid , Long id , int num);

}
